home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / AVComponents.p < prev    next >
Encoding:
Text File  |  1997-08-12  |  16.4 KB  |  378 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        AVComponents.p
  3.  
  4.      Contains:    Standard includes for standard AV panels
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1989-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT AVComponents;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __AVCOMPONENTS__}
  28. {$SETC __AVCOMPONENTS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC AVComponentsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __DIALOGS__}
  35. {$I Dialogs.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __VIDEO__}
  38. {$I Video.p}
  39. {$ENDC}
  40. {$IFC UNDEFINED __DISPLAYS__}
  41. {$I Displays.p}
  42. {$ENDC}
  43. {$IFC UNDEFINED __COMPONENTS__}
  44. {$I Components.p}
  45. {$ENDC}
  46.  
  47.  
  48. {$PUSH}
  49. {$ALIGN MAC68K}
  50. {$LibExport+}
  51.  
  52. {
  53.     The subtypes listed here are for example only.  The display manager will find _all_ panels
  54.       with the appropriate types.  These panels return class information that is used to devide them
  55.       up into groups to be displayed in the AV Windows (class means "geometry" or "color" or other groupings
  56.       like that.
  57. }
  58.  
  59. CONST
  60.     kAVPanelType                = 'avpc';                        {  Panel subtypes             }
  61.     kBrightnessPanelSubType        = 'brit';
  62.     kContrastPanelSubType        = 'cont';
  63.     kBitDepthPanelSubType        = 'bitd';
  64.     kAVEngineType                = 'avec';                        {  Engine subtypes                 }
  65.     kBrightnessEngineSubType    = 'brit';
  66.     kContrastEngineSubType        = 'cont';                        {         kBitDepthEngineSubType        = 'bitd',            // Not used                     }
  67.     kAVPortType                    = 'avdp';                        { subtypes are defined in each port's public .h file }
  68.  
  69. { PortComponent subtypes are up to the port and display manager does not use the subtype
  70.     to find port components.  Instead, display manager uses an internal cache to search for portcompoennts.
  71.     It turns out to be useful to have a unique subtype so that engines can see if they should apply themselves to
  72.     a particular port component.
  73.   
  74.    PortKinds are the "class" of port.  When a port is registered with display manager (creating a display ID), the
  75.     caller of DMNewDisplayIDByPortComponent passes a portKind.  Ports of this type are returned by
  76.     DMNewDevicePortList.
  77.   
  78.    PortKinds are NOT subtypes of components
  79.    PortKinds ARE used to register and find port components with Display Manager.  Here are the basic port kinds:
  80.   
  81.    Video displays are distinct from video out because there are some video out ports that are not actaully displays.
  82.     if EZAV is looking to configure displays, it needs to look for kAVVideoDisplayPortKind not kAVVideoOutPortKind.
  83.  }
  84.     kAVVideoDisplayPortKind        = 'pkdo';                        {  Video Display (CRT or panel display)                 }
  85.     kAVVideoOutPortKind            = 'pkvo';                        {  Video out port (camera output).                       }
  86.     kAVVideoInPortKind            = 'pkvi';                        {  Video in port (camera input)                         }
  87.     kAVSoundOutPortKind            = 'pkso';                        {  Sound out port (speaker or speaker jack)             }
  88.     kAVSoundInPortKind            = 'pksi';                        {  Sound in port (microphone or microphone jack)     }
  89.     kAVDeviceType                = 'avdc';                        {  Device Component subtypes are up to the manufacturor since each device may contain multiple function types (eg telecaster)  }
  90.     kAVDisplayDeviceKind        = 'dkvo';                        {  Display device }
  91.                                                                 {  Device Component subtypes are up to the manufacturor since each device may contain multiple function types (eg telecaster) }
  92.     kAVCategoryType                = 'avcc';
  93.     kAVSoundInSubType            = 'avao';
  94.     kAVSoundOutSubType            = 'avai';
  95.     kAVVideoInSubType            = 'vdin';
  96.     kAVVideoOutSubType            = 'vdou';
  97.     kAVInvalidType                = 'badt';                        {  Some calls return a component type, in case of errors, these types are set to kAVInvalidComponentType  }
  98.  
  99.  
  100. {
  101.    Constants for Panel Classes (used to build buttons in AVSetup) 
  102.    but is generic to all panels 
  103. }
  104.     kAVPanelClassDisplayDefault    = 'cdsp';
  105.     kAVPanelClassColor            = 'cclr';
  106.     kAVPanelClassGeometry        = 'cgeo';
  107.     kAVPanelClassSound            = 'csnd';
  108.     kAVPanelClassPreferences    = 'cprf';
  109.  
  110. { =============================                    }
  111. { Component interface revision levels and history    }
  112. { =============================                    }
  113.     kAVPanelComponentInterfaceRevOne = 1;
  114.     kAVEngineComponentInterfaceRevOne = 1;
  115.     kAVPortComponentInterfaceRevOne = 1;
  116.     kAVDeviceComponentInterfaceRevOne = 1;
  117.  
  118.  
  119.     kBaseAVComponentSelector    = 256;                            {  First apple-defined selector for AV components  }
  120.  
  121.  
  122. { =============================                }
  123. { Panel Standard component selectors            }
  124. { =============================                }
  125.     kAVPanelFakeRegisterSelect    = -5;                            {  -5     }
  126.     kAVPanelSetCustomDataSelect    = 0;
  127.     kAVPanelGetDitlSelect        = 1;
  128.     kAVPanelGetTitleSelect        = 2;
  129.     kAVPanelInstallSelect        = 3;
  130.     kAVPanelEventSelect            = 4;
  131.     kAVPanelItemSelect            = 5;
  132.     kAVPanelRemoveSelect        = 6;
  133.     kAVPanelValidateInputSelect    = 7;
  134.     kAVPanelGetSettingsIdentifiersSelect = 8;
  135.     kAVPanelGetSettingsSelect    = 9;
  136.     kAVPanelSetSettingsSelect    = 10;
  137.     kAVPanelSelectorGetFidelitySelect = 256;
  138.     kAVPanelSelectorTargetDeviceSelect = 257;
  139.     kAVPanelSelectorGetPanelClassSelect = 258;
  140.  
  141.  
  142. { =============================                }
  143. { Engine Standard component selectors            }
  144. { =============================                }
  145.     kAVEngineGetEngineFidelitySelect = 256;
  146.     kAVEngineTargetDeviceSelect    = 257;
  147.  
  148.  
  149. { =============================                    }
  150. { Video Port Specific calls                        }
  151. { =============================                    }
  152.     kAVPortCheckTimingModeSelect = 0;
  153.     kAVPortReserved1Select        = 1;                            {  Reserved }
  154.  
  155.  
  156. { =============================                    }
  157. { AV Port Specific calls                            }
  158. { =============================                    }
  159.     kAVPortGetAVDeviceFidelitySelect = 256;                        {  Port Standard Component selectors  }
  160.     kAVPortGetWiggleSelect        = 257;
  161.     kAVPortSetWiggleSelect        = 258;
  162.     kAVPortGetNameSelect        = 259;
  163.     kAVPortGetGraphicInfoSelect    = 260;
  164.     kAVPortSetActiveSelect        = 261;
  165.     kAVPortGetActiveSelect        = 262;
  166.     kAVPortUnsed1Select            = 263;                            {  Selector removed as part of API change.  We don't want to mess up the following selectors, so we put in this spacer (ie kPadSelector).  }
  167.     kAVPortGetAVIDSelect        = 264;
  168.     kAVPortSetAVIDSelect        = 265;
  169.     kAVPortSetDeviceAVIDSelect    = 266;                            {  For registrar to set device (instead of hitting global directly) -- should only be called once  }
  170.     kAVPortGetDeviceAVIDSelect    = 267;                            {  Called by display mgr for generic ports  }
  171.     kAVPortGetPowerStateSelect    = 268;
  172.     kAVPortSetPowerStateSelect    = 269;
  173.     kAVPortGetMakeAndModelSelect = 270;                            {  Get Make and model information }
  174.  
  175.  
  176.  
  177.  
  178. { =============================                    }
  179. { Device Component Standard Component selectors    }
  180. { =============================                    }
  181.     kAVDeviceGetNameSelect        = 256;
  182.     kAVDeviceGetGraphicInfoSelect = 257;
  183.     kAVDeviceGetPowerStateSelect = 258;
  184.     kAVDeviceSetPowerStateSelect = 259;
  185.     kAVDeviceGetAVIDSelect        = 260;
  186.     kAVDeviceSetAVIDSelect        = 261;
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. { =============================                }
  196. { Engine Standard component selectors            }
  197. { =============================                }
  198. FUNCTION AVEngineComponentGetFidelity(engineComponent: ComponentInstance; displayID: DisplayIDType; VAR engineFidelity: DMFidelityType): ComponentResult;
  199.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  200.     INLINE $2F3C, $0008, $0100, $7000, $A82A;
  201.     {$ENDC}
  202. FUNCTION AVEngineComponentTargetDevice(engineComponent: ComponentInstance; displayID: DisplayIDType): ComponentResult;
  203.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  204.     INLINE $2F3C, $0004, $0101, $7000, $A82A;
  205.     {$ENDC}
  206.  
  207. { =============================                }
  208. { Panel Standard Component calls                }
  209. { =============================                }
  210. FUNCTION AVPanelFakeRegister(ci: ComponentInstance): ComponentResult;
  211.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  212.     INLINE $2F3C, $0000, $FFFB, $7000, $A82A;
  213.     {$ENDC}
  214. FUNCTION AVPanelSetCustomData(ci: ComponentInstance; theCustomData: LONGINT): ComponentResult;
  215.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  216.     INLINE $2F3C, $0004, $0000, $7000, $A82A;
  217.     {$ENDC}
  218. FUNCTION AVPanelGetDitl(ci: ComponentInstance; VAR ditl: Handle): ComponentResult;
  219.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  220.     INLINE $2F3C, $0004, $0001, $7000, $A82A;
  221.     {$ENDC}
  222. FUNCTION AVPanelGetTitle(ci: ComponentInstance; title: StringPtr): ComponentResult;
  223.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  224.     INLINE $2F3C, $0004, $0002, $7000, $A82A;
  225.     {$ENDC}
  226. FUNCTION AVPanelInstall(ci: ComponentInstance; dialog: DialogPtr; itemOffset: INTEGER): ComponentResult;
  227.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  228.     INLINE $2F3C, $0006, $0003, $7000, $A82A;
  229.     {$ENDC}
  230. FUNCTION AVPanelEvent(ci: ComponentInstance; dialog: DialogPtr; itemOffset: INTEGER; VAR event: EventRecord; VAR itemHit: INTEGER; VAR handled: BOOLEAN): ComponentResult;
  231.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  232.     INLINE $2F3C, $0012, $0004, $7000, $A82A;
  233.     {$ENDC}
  234. FUNCTION AVPanelItem(ci: ComponentInstance; dialog: DialogPtr; itemOffset: INTEGER; itemNum: INTEGER): ComponentResult;
  235.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  236.     INLINE $2F3C, $0008, $0005, $7000, $A82A;
  237.     {$ENDC}
  238. FUNCTION AVPanelRemove(ci: ComponentInstance; dialog: DialogPtr; itemOffset: INTEGER): ComponentResult;
  239.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  240.     INLINE $2F3C, $0006, $0006, $7000, $A82A;
  241.     {$ENDC}
  242. FUNCTION AVPanelValidateInput(ci: ComponentInstance; VAR ok: BOOLEAN): ComponentResult;
  243.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  244.     INLINE $2F3C, $0004, $0007, $7000, $A82A;
  245.     {$ENDC}
  246. FUNCTION AVPanelGetSettingsIdentifiers(ci: ComponentInstance; VAR theID: INTEGER; VAR theType: OSType): ComponentResult;
  247.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  248.     INLINE $2F3C, $0008, $0008, $7000, $A82A;
  249.     {$ENDC}
  250. FUNCTION AVPanelGetSettings(ci: ComponentInstance; VAR userDataHand: Handle; flags: LONGINT; theDialog: DialogPtr; itemsOffset: LONGINT): ComponentResult;
  251.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  252.     INLINE $2F3C, $0010, $0009, $7000, $A82A;
  253.     {$ENDC}
  254. FUNCTION AVPanelSetSettings(ci: ComponentInstance; userDataHand: Handle; flags: LONGINT; theDialog: DialogPtr; itemsOffset: LONGINT): ComponentResult;
  255.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  256.     INLINE $2F3C, $0010, $000A, $7000, $A82A;
  257.     {$ENDC}
  258. FUNCTION AVPanelGetFidelity(panelComponent: ComponentInstance; displayID: DisplayIDType; VAR panelFidelity: DMFidelityType): ComponentResult;
  259.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  260.     INLINE $2F3C, $0008, $0100, $7000, $A82A;
  261.     {$ENDC}
  262. FUNCTION AVPanelComponentTargetDevice(panelComponent: ComponentInstance; displayID: DisplayIDType; theDialog: DialogPtr; itemsOffset: LONGINT): ComponentResult;
  263.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  264.     INLINE $2F3C, $000C, $0101, $7000, $A82A;
  265.     {$ENDC}
  266. FUNCTION AVPanelComponentGetPanelClass(panelComponent: ComponentInstance; VAR panelClass: ResType; VAR subClass: ResType; reserved1: Ptr; reserved2: Ptr): ComponentResult;
  267.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  268.     INLINE $2F3C, $0010, $0102, $7000, $A82A;
  269.     {$ENDC}
  270.  
  271. { =============================                }
  272. { Port Component Standard Component selectors    }
  273. { =============================                }
  274. FUNCTION AVPortGetAVDeviceFidelity(portComponent: ComponentInstance; deviceAVID: AVIDType; VAR portFidelity: DMFidelityType): ComponentResult;
  275.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  276.     INLINE $2F3C, $0008, $0100, $7000, $A82A;
  277.     {$ENDC}
  278. FUNCTION AVPortGetWiggle(portComponent: ComponentInstance; VAR wiggleDevice: BOOLEAN): ComponentResult;
  279.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  280.     INLINE $2F3C, $0004, $0101, $7000, $A82A;
  281.     {$ENDC}
  282. FUNCTION AVPortSetWiggle(portComponent: ComponentInstance; wiggleDevice: BOOLEAN): ComponentResult;
  283.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  284.     INLINE $2F3C, $0002, $0102, $7000, $A82A;
  285.     {$ENDC}
  286. FUNCTION AVPortGetName(portComponent: ComponentInstance; VAR portName: Str255): ComponentResult;
  287.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  288.     INLINE $2F3C, $0004, $0103, $7000, $A82A;
  289.     {$ENDC}
  290. FUNCTION AVPortGetGraphicInfo(portComponent: ComponentInstance; VAR thePict: PicHandle; VAR theIconSuite: Handle; theLocation: AVLocationPtr): ComponentResult;
  291.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  292.     INLINE $2F3C, $000C, $0104, $7000, $A82A;
  293.     {$ENDC}
  294. FUNCTION AVPortSetActive(portComponent: ComponentInstance; setActive: BOOLEAN): ComponentResult;
  295.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  296.     INLINE $2F3C, $0002, $0105, $7000, $A82A;
  297.     {$ENDC}
  298. FUNCTION AVPortGetActive(portComponent: ComponentInstance; VAR isPortActive: BOOLEAN; VAR portCanBeActivated: BOOLEAN; reserved: UNIV Ptr): ComponentResult;
  299.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  300.     INLINE $2F3C, $000C, $0106, $7000, $A82A;
  301.     {$ENDC}
  302. FUNCTION AVPortGetAVID(portComponent: ComponentInstance; VAR avDeviceID: AVIDType): ComponentResult;
  303.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  304.     INLINE $2F3C, $0004, $0108, $7000, $A82A;
  305.     {$ENDC}
  306. FUNCTION AVPortSetAVID(portComponent: ComponentInstance; avDeviceID: AVIDType): ComponentResult;
  307.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  308.     INLINE $2F3C, $0004, $0109, $7000, $A82A;
  309.     {$ENDC}
  310. FUNCTION AVPortSetDeviceAVID(portComponent: ComponentInstance; avDeviceID: AVIDType): ComponentResult;
  311.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  312.     INLINE $2F3C, $0004, $010A, $7000, $A82A;
  313.     {$ENDC}
  314. FUNCTION AVPortGetDeviceAVID(portComponent: ComponentInstance; VAR avDeviceID: AVIDType): ComponentResult;
  315.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  316.     INLINE $2F3C, $0004, $010B, $7000, $A82A;
  317.     {$ENDC}
  318. FUNCTION AVPortGetPowerState(deviceComponent: ComponentInstance; getPowerState: AVPowerStatePtr): ComponentResult;
  319.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  320.     INLINE $2F3C, $0004, $010C, $7000, $A82A;
  321.     {$ENDC}
  322. FUNCTION AVPortSetPowerState(deviceComponent: ComponentInstance; setPowerState: AVPowerStatePtr): ComponentResult;
  323.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  324.     INLINE $2F3C, $0004, $010D, $7000, $A82A;
  325.     {$ENDC}
  326. FUNCTION AVPortGetMakeAndModel(displayComponent: ComponentInstance; theDisplayID: DisplayIDType; VAR manufacturer: ResType; VAR model: UInt32; VAR serialNumber: UInt32): ComponentResult;
  327.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  328.     INLINE $2F3C, $0010, $010E, $7000, $A82A;
  329.     {$ENDC}
  330.  
  331. { =============================                }
  332. { Video Out Port Component Selectors            }
  333. { =============================                }
  334. FUNCTION AVPortCheckTimingMode(displayComponent: ComponentInstance; theDisplayID: DisplayIDType; connectInfo: VDDisplayConnectInfoPtr; modeTiming: VDTimingInfoPtr; reserved: UInt32): ComponentResult;
  335.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  336.     INLINE $2F3C, $0010, $0000, $7000, $A82A;
  337.     {$ENDC}
  338. { =============================                }
  339. { AV Device Component Selectors                }
  340. { =============================                }
  341. FUNCTION AVDeviceGetName(portComponent: ComponentInstance; VAR portName: Str255): ComponentResult;
  342.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  343.     INLINE $2F3C, $0004, $0100, $7000, $A82A;
  344.     {$ENDC}
  345. FUNCTION AVDeviceGetGraphicInfo(portComponent: ComponentInstance; VAR thePict: PicHandle; VAR theIconSuite: Handle; theLocation: AVLocationPtr): ComponentResult;
  346.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  347.     INLINE $2F3C, $000C, $0101, $7000, $A82A;
  348.     {$ENDC}
  349. FUNCTION AVDeviceGetPowerState(deviceComponent: ComponentInstance; getPowerState: AVPowerStatePtr): ComponentResult;
  350.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  351.     INLINE $2F3C, $0004, $0102, $7000, $A82A;
  352.     {$ENDC}
  353. FUNCTION AVDeviceSetPowerState(deviceComponent: ComponentInstance; setPowerState: AVPowerStatePtr): ComponentResult;
  354.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  355.     INLINE $2F3C, $0004, $0103, $7000, $A82A;
  356.     {$ENDC}
  357. FUNCTION AVDeviceGetAVID(deviceComponent: ComponentInstance; VAR avDeviceID: AVIDType): ComponentResult;
  358.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  359.     INLINE $2F3C, $0004, $0104, $7000, $A82A;
  360.     {$ENDC}
  361. FUNCTION AVDeviceSetAVID(deviceComponent: ComponentInstance; avDeviceID: AVIDType): ComponentResult;
  362.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  363.     INLINE $2F3C, $0004, $0105, $7000, $A82A;
  364.     {$ENDC}
  365.  
  366.  
  367.  
  368. {$ALIGN RESET}
  369. {$POP}
  370.  
  371. {$SETC UsingIncludes := AVComponentsIncludes}
  372.  
  373. {$ENDC} {__AVCOMPONENTS__}
  374.  
  375. {$IFC NOT UsingIncludes}
  376.  END.
  377. {$ENDC}
  378.